export interface SongItemCreator {
  type: number
  qq: number
  encrypt_uin: string
  name: string
  isVip: number
  avatarUrl: string
  followflag: number
}
export interface SongItem {
  dissid: string
  dissname: string
  imgurl: string
  introduction: string
  listennum: number
  score: number
  version: number
  creator: SongItemCreator
}
export type SongList = SongItem[]
export interface getSongListsRes {
  data: {
    uin?: number
    categoryId: number
    sortId?: number
    sum?: number
    sin?: number
    ein?: number
    list: SongList
  }
}

// 歌单详情的类型
export interface GetSongListsDetailType {
  cdlist: GetSongListsDetail_Cdlist_Type[]
}
export interface GetSongListsDetail_Cdlist_Type {
  album_pic_mid: string
  buynum: number
  cmtnum: number
  coveradurl: string
  ctime: number
  cur_song_num: number
  desc: string
  dir_pic_url2: string
  dir_show: number
  dirid: number
  dissid: number
  dissname: string
  disstid: string
  encrypt_uin: string
  headurl: string
  ifpicurl: string
  logo: string
  nick: string
  nickname: string
  songids: string
  songlist: GetSongListsDetail_Cdlist_Songlist_Type[]
  songnum: number
  total_song_num: number
  type: number
  uin: string
  visitnum: number
}
export interface GetSongListsDetail_Cdlist_Songlist_Type {
  action: {
    switch: number
    msgid: number
    msgpay: number
    alert: number
    icons: number
  }
  album: {
    id: number
    mid: string
    pmid: string
    name: string
    title: string
    subtitle: string
  }
  file: { media_mid: string; size_try: 0; b_30s: 0; e_30s: 0; try_begin: 0 }
  fnote: number
  genre: number
  id: number
  index_album: number
  index_cd: number
  interval: number
  isonly: number
  ksong: { id: 0; mid: string }
  language: number
  mid: string
  mv: { id: number; vid: string }
  name: string
  singer: SingerType[]
  songtype: number
  status: number
  subtitle: string
  tid: number
  time_public: string
  title: string
}
interface SingerType {
  id: number
  mid: string
  name: string
  title: string
}
